package com.vcc.service.service;

import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.BossUserPermission;

import java.util.List;

public interface BossUserPermissionService extends IService<BossUserPermission> {

    List<BossUserPermission> listByUserId(Long userId);

    Boolean removeByUserId(Long userId);

    Boolean removeByUserIdAndPermissionId(Long userId, Long permissionId);

    Boolean existsByUserIdAndPermissionId(Long userId, Long permissionId);

}
